package com.crois.barrier.admin.mapper;

import com.crois.barrier.admin.entity.PluginData;
import com.zhimydou.zdf.wf.mybatisplus.WfBaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * barrier 插件数据表
 * @author Hou Ze Yu
 * @date 2021-10-25 11:58:28
 */
public interface PluginDataMapper extends WfBaseMapper<PluginData> {

    List<PluginData> selectRoutePluginList(@Param("routeId") Integer routeId);

    int saveRoutePlugin(@Param("routeId")Integer routeId,@Param("pluginId") Integer pluginId);

    int deleteRoutePlugin(@Param("routeId")Integer routeId,@Param("pluginId") Integer pluginId);

}
